home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
226-250
/
disk_237
/
dplot
/
readme
< prev
next >
Wrap
Text File
|
1992-05-06
|
5KB
|
116 lines
About a year ago I made an attempt to divert Amiga's
graphics-support to a signal-processing environment. My first objective
was a simple display for experimental data satisfying the following:
(i) "Paging" through lots of data
(ii) Comfortable scaling and presentation.
This piece of code was the first (dissatisfying) working example
of what I had in mind (Lattice 3.03, complete with union kludges).
It is considered to be Freeware in the usual sense.
Since I think the Amiga is well suited for a straightforward
interactive scientific environment, I am rewriting the old
version under Lattice 5.02. The revision will include:
- A better filerequester
- A rastportdump
- Vertical "soft" scroll
- Gadgets in double menu requester
- "Soft" compress and expand of the data
- Customisation of the datawindow(s)
This version is intended to become the basis for further developments
using the complex plane, FFT, filtering and systemdynamics.
Any suggestions or information about scientific software on the Amiga
is appreciated. I am particularly interested in a comfortable and
interactive display of theoretical concepts and of experimental data.
What can we learn from the "crash-boom-beng" people in order
to visualize or animate our physical data in a time or configurational
domain.
If you find this program useful and are interested in signalprocessing,
graphics (loci of rotating vectors in the complex plane) ,kinematics
(families of curves like epi and hypocycloids), music (analytical
approximations of a soundtrack for instance),chaos or stochastic
processes, send $10 (Europe $8 or so) to:
A.A.Walma
Ziegelmattenstrasse 5
7800 FREIBURG
W-Germany
You'll become a registered user and I'll support the use by answering
questions and send you notice of other versions.In Germany you can contact
me under 0761-64832.
--------------------------------------------------------------------
Dplot 1.0
(c) 1987 A.A.Walma
The program is started either from CLI by invoking "NTSC_dplot <cr>"
for vertically 200 lines and "PAL_dplot <cr>" for vertically 256 lines,
or from the Workbench, where the icons are selfexplanatory.
In both cases the "mathtrans.library" file must be in the "libs" directory
since this program was developed under Lattice 3.03 where the
FFP libraries are opened explicitly.
Dplot works within an integer-range of 0-10000. This
suffices for the usual 8-Bit and 12-Bit AD converters. Only with binary
data (soundfiles for instance) negative values are accepted (-127/128).
ASCII data are considered to be positive only. Two examples of
experimental data are included:
- sound = A soundtrack from an 8-Bit digitizer as the binary
example (100000 data with a sampling rate of ca 28 kHz)
- eeg = A sample of a 12-Bit brainwave digitalisation (10500
data at a sampling rate of 250 Hz)
The filerequester asks you for the total number of data to be read in.
With "starting index" is meant the first datum in the display (default
is one). If you have lots of data and not so much RAM, you may want to start
at 78000 for instance and put in 90000 for the "total number". RAM is only
needed for 12000 then.
NOK (="Not OK") brings you back to the main menu and with OK the first
590 datasamples are being displayed. The display is "pixeloriented". In
other words, each horizontal pixel represents a sampled value and each
vertical pixel an amplitude-unit. Reading in "eeg" shows what this
means since this signal varies in real amplitude from ca 2000-7000, whereas
the displayheight amounts to 200. You can measure this by leftklicking
the mouse if the cursor is in the displayfield.
The gadgets to the right are activated in the usual way by a left-
klick on the mousebutton. The first four (in the new version by means
of a dynamic potscroll) gadgets are for vertical "paging". The first two
by means of 200 pixels (=one pageheight), the second two by means of 20
pixels. The next gadget (left) is for reducing the amplitude by a factor
of two each time the gadget is activated. You need to press several times
of course for the "eeg" signal.
The gadget at right changes the window-layout.
Pressing several times shows the idea. By using the blue arrow you can
"page" quickly through the data. This offers the possibility to look
for transients or other interesting parts of the data. Klicking once with
the left-mouse button in the displayfield allows you to locate the part
you are interested in. This is done by pressing the left-mouse button
one more time. Going back to the original display (by means of "OK")
shows the data from where you put the vertical line. You can check this
again by leftklicking in the displayfield.
The gadget below (see "x"),expands the data by a factor of two.
This means by activating once there are 590/2 data on the screen. The blue
arrow is now "paging" with 285 data. In both windows the UNDO gagdet
is restoring the original situation (and not the last modification).
The relative gadget below "scrolls" the data maximally 590 values.
Each klick with the left-mouse button means one datum forward
(or backward).
--------------------------------------------------------------------